<template>
  <div>
    <div class="title">
      <h3>{{item.name}}</h3><a :href="item.url">更多&gt;&gt;</a>
    </div>
    <div class="stu_plan">
      <ul class="zhang-ul">
        <li v-for="(item, index) in item.list" :key="index">
          <a :id="item.id" :href="item.url">{{item.name}}</a>
        </li>
      </ul>
    </div>
  </div>
</template>

<script>
  export default {
    name: "Item",
    props: {
      item: Object
    }
  }
</script>

<style scoped>
  ul li a {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
  }
</style>
